package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Category;
import org.springframework.stereotype.Service;

import java.util.List;


public interface CategoryService {

    List<Category> findAll();


    void add(Category category);


    void update(Category category);


    ResultInfo delete(Long id);

    //查询菜品口味列表
    List<Category> findList(Integer type);
}
